package com.cskaoyan.bean.admin.vo;

import com.cskaoyan.bean.Category;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
public class CategoryInfoVO extends Category {
    private List<Category> children;

    public CategoryInfoVO() {
    }

    public CategoryInfoVO(Integer id, String name, String keywords, String desc, String iconUrl, String picUrl, String level, List<Category> children) {
        super(id, name, keywords, desc, iconUrl, picUrl, level);
        this.children = children;
    }
}
